import Cookie from 'js-cookie'
export const state = () => ({
    loading:true,
    userinfos:{},
    themeStatus:false,
})

export const mutations = {
    setLoading(state,data){
        state.loading = data;
    },
    setUserInfos(state,data){
        state.userinfos = data;
    },
    setThemeStatus(state,data){
        state.themeStatus = data;
    }
}
